package com.lhy.admin.service;

import com.lhy.admin.mapper.RoleMapper;
import com.lhy.admin.model.Role;
import com.lhy.admin.common.mvcplus.service.SimpleService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleService extends SimpleService<RoleMapper, Role> {

    public List<Role> listRolesByUserName(String userName) {
        return baseMapper.listRolesByUserName(userName);
    }


}
